package com.aracky.system.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.aracky.common.excel.LocalDateStringConverter;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 用户绩效考核
 * </p>
 *
 * @author zzp
 * @since 2022-08-01 09:43:18
 */
@Getter
@Setter
public class KpiUserHeaderExport implements Serializable {

    @ExcelProperty(value = "被考核人")
    private String userName;

    @ExcelProperty(value = "考核类型")
    private String performanceTypeName;

    @ExcelProperty(value = "考核周期")
    private String performancePeriod;

    @ExcelProperty(value = "结束填报时间",converter = LocalDateStringConverter.class)
    private LocalDate endWriteDate;

    @ExcelProperty(value = "结束评分日期",converter = LocalDateStringConverter.class)
    private LocalDate endAssessorDate;

    @ExcelProperty(value = "第一评分人")
    private String assessor1Name;

    @ExcelProperty(value = "第一评分人权重")
    private Integer weightPercent1;

    @ExcelProperty(value = "第一评分")
    private BigDecimal assessor1Total;

    @ExcelProperty(value = "第二评分人")
    private String assessor2Name;

    @ExcelProperty(value = "第二评分人权重")
    private Integer weightPercent2;

    @ExcelProperty(value = "第二评分")
    private BigDecimal assessor2Total;

    @ExcelProperty(value = "总评分")
    private BigDecimal total;

}
